<?php
/**
 * User: lukas
 * Date: 12/5/12
 * Time: 10:12 AM
 */
class User
{
    private $id;
    private $email;
    private $name;
    private $password;
    private $projects;
    private $tasks;

    function __construct($email, $id, $name, $password)
    {
        $this->email = $email;
        $this->id = $id;
        $this->name = $name;
        $this->password = $password;
        $this->projects = array();
        $this->tasks = array();
    }

    public function setEmail($email)
    {
        $this->email = $email;
    }

    public function getEmail()
    {
        return $this->email;
    }

    public function setId($id)
    {
        $this->id = $id;
    }

    public function getId()
    {
        return $this->id;
    }

    public function setName($name)
    {
        $this->name = $name;
    }

    public function getName()
    {
        return $this->name;
    }

    public function setPassword($password)
    {
        $this->password = $password;
    }

    public function getPassword()
    {
        return $this->password;
    }

    public function setProjects($projects)
    {
        $this->projects = $projects;
    }

    public function getProjects()
    {
        return $this->projects;
    }

    public function setTasks($tasks)
    {
        $this->tasks = $tasks;
    }

    public function getTasks()
    {
        return $this->tasks;
    }




}
